package com.ryan.mms.privilage.dto;

import com.ryan.framework.dto.Dto;

public class RoleDto implements Dto{
	private Long roleId;
	private String roleCode;
	private String roleName;
	private Long roleGroupId;
	private Integer roleType;

	// Constructors

	/** default constructor */
	public RoleDto() {
	}

	/** minimal constructor */
	public RoleDto(String roleCode, String roleName) {
		this.roleCode = roleCode;
		this.roleName = roleName;
	}

	/** full constructor */
	public RoleDto(String roleCode, String roleName, Long roleGroupId,
			Integer roleType) {
		this.roleCode = roleCode;
		this.roleName = roleName;
		this.roleGroupId = roleGroupId;
		this.roleType = roleType;
	}

	// Property accessors
	public Long getRoleId() {
		return this.roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	public String getRoleCode() {
		return this.roleCode;
	}

	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}

	public String getRoleName() {
		return this.roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public Long getRoleGroupId() {
		return this.roleGroupId;
	}

	public void setRoleGroupId(Long roleGroupId) {
		this.roleGroupId = roleGroupId;
	}

	public Integer getRoleType() {
		return this.roleType;
	}

	public void setRoleType(Integer roleType) {
		this.roleType = roleType;
	}

}